package com.hou.slf4j.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/hou")
public class FirstController {

    /** Logger实例 */
    Logger logger = LoggerFactory.getLogger(FirstController.class);

    @GetMapping("/test")
    public String testApi(){
        logger.debug("");
        return "SUCCESS";
    }
}
